import UIKit

//
@available(iOS 3.0, *)
extension QKC where AA :UILocalizedIndexedCollation {
	// Provides the list of section titles used to group results (e.g. A-Z,# in US/English)
    open func sectionTitles_qk_g() -> QKC<AA,YY,ZZ, [String] >{
		 self +^ self.value.sectionTitles
	}

	// Provides the list of index titles used to quickly jump to particular sections
    open func sectionIndexTitles_qk_g() -> QKC<AA,YY,ZZ, [String] >{
		 self +^ self.value.sectionIndexTitles
	}

	// and a given section where there isn't a one-to-one mapping.
    open func section_qk_f(forSectionIndexTitle indexTitleIndex: Int) -> QKC<AA,YY,ZZ,Int>{
		 self +^ self.value.section(forSectionIndexTitle:indexTitleIndex)
	}

	// selector must not take any arguments and return an NSString.
    open func section_qk_f(for object: Any, collationStringSelector selector: Selector) -> QKC<AA,YY,ZZ,Int>{
		 self +^ self.value.section(for:object, collationStringSelector:selector)
	}

	// selector multiple times, so this method should be fast.
    open func sortedArray_qk_f(from array: [Any], collationStringSelector selector: Selector) -> QKC<AA,YY,ZZ,[Any]>{
		 self +^ self.value.sortedArray(from:array, collationStringSelector:selector)
	}

}

